package com.example.carinterface.service.dl.admin;

import com.example.carinterface.utils.ResultJson;

import java.util.List;
import java.util.Map;

public interface BannerService {


    ResultJson<List<Map<String, Object>>> findAll();

    ResultJson<String> delById(Integer id);

    ResultJson<Map<String, Object>> findById(Integer id);

    ResultJson<String> updateBanner(Map<String, Object> map);

    ResultJson<Map<String, String>> addBanner(Map<String, Object> map);

    ResultJson<String> moveBanner(List<Map<String, Object>> list);

    ResultJson<String> moveBanner(Map<String, Object> list);
}
